<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form method = "post"   action="/updateCourse" >
    课程名称:<input  type="text" name="courseName" th:value="${course.courseName}"/><br />
    老师ID:<input type="number" name="teacherId"  th:value="${course.teacherId}"/><br />
    <input type="text" hidden="hidden" name="courseId" th:value="${course.courseId}"/>
    <input type="submit" value="更新课程" />
</form>
</body>
</html>